package com.gaoqi.mq;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {
        "com.gaoqi.mq.work",
        "com.gaoqi.mq.fanout",
        "com.gaoqi.mq.direct",
        "com.gaoqi.mq.topic",
        "com.gaoqi.mq.config"
})
public class MqApplication {

    public static void main(String[] args) {
        SpringApplication.run(MqApplication.class, args);
    }

}
